package com.billing.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.billing.model.entity.TAnnualBonus;

public interface AnnualBonusBeanMapper {

	/**
	 * 根据用户id获取年终奖信息
	 * @return
	 */
	public List<TAnnualBonus> getTAnnualBonusList(@Param("id")String id,@Param("year")String year,
			@Param("currentPage")int currentPage,@Param("pageSize")int pageSize);
	/**
	 * 获取年终奖列表条数信息
	 * @return
	 */
	public int selectTAnnualBonusNum(@Param("id")String id,@Param("year")String year);
	/**
	 * 根据用户id删除年终奖信息
	 * @param id
	 * @return
	 */
	public int deleteTAnnualBonusByid(@Param("id")int id);
	/**
	 * 新增年终奖信息
	 * @param tax
	 * @return
	 */
	public int insertTAnnualBonus(TAnnualBonus annua);
	/**
	 * 根据id获取年终奖详情
	 * @param id
	 * @return
	 */
	public TAnnualBonus getTAnnualBonusByid(@Param("id")String id);
	/**
	 * 修改年终奖信息
	 * @param attendance
	 * @return
	 */
	public int updateTAnnualBonus(TAnnualBonus annua);
	/**
	 * 根据应税时间获取年终奖信息
	 * @return
	 */
	public List<TAnnualBonus> getTAnnualBonusBytaxableTimeList(String taxableTime);
}
